var express = require('express');
var router = express.Router();
var dataCtrl=require("../controllers/cate.controller")

router.post('/data',dataCtrl.create);
router.post('/data/:id',dataCtrl.update);
router.get("/list",dataCtrl.list)
router.delete("/data/:id",dataCtrl.remove);

module.exports = router;